

let base_url = ''

let appid = "wx864"
let redirectUri = "https://www.baidu.com/#/pages/oauth/wechat"


let mock_url = ' https://mock.mengxuegu.com/mock/606bc0a2e34b2e50a355cc2e/example'

let http = {
	
	oauth: {
		"wechatUrl":"https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + appid + "&redirect_uri=" + encodeURIComponent(redirectUri) + "&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect" 
	},
	
	login : {
		'login': base_url + '/login',
	},
	
	index : {
		'bookInfo' : base_url + '/bookInfo'
	},
	test : {
		'testmock' : mock_url + '/banner'
	}
	
}

module.exports = {
	http
} 